package com.swust.monitorProject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.swust.monitorProject.entity.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shuaixin
 * @since 2024-12-24
 */
public interface IUserService extends IService<User> {

    Boolean updatePassword(Long id, String userPassword);
    Boolean createUser(User user);
    Boolean deleteUser(Long id);

    boolean changePsw(Long userId, String newPassword);


    List<User> getAllUsers();
}
